from copy import copy


def chisla(a):
    stroka = ""
    b = a.split()
    for i in b:
        if "zero" in i:
           stroka += "0"
        elif "one" in i:
           stroka += "1"
        elif "two" in i:
           stroka += "2"
        elif "three" in i:
           stroka += "3"
        elif "four" in i:
           stroka += "4"
        elif "five" in i:
           stroka += "5"
        elif "six" in i:
           stroka += "6"
        elif "seven" in i:
           stroka += "7"
        elif "eight" in i:
           stroka += "8"
        elif "nine" in i:
           stroka += "9"
        else:
            raise ValueError('Wrong input')
    return stroka
def simplenumber(a):
    count = 0
    for i in range(2, a // 2 + 1):
        if a % i == 0:
            count += 1
    return True if count <= 0 else False

a = input()

#res_plus

print(chisla(a))
